how to take last entry in database in laravel Method ONe

83

how to take last entry in database in laravel Method ONe -

$last = DB::table('items')->latest()->first();

Comments

Submit
0 Comments